<?php
/**
 * Created by PhpStorm.
 * User: lih
 * Date: 2017/11/7
 * Time: 22:26
 */

namespace common\utils;

use Yii;

class Utils
{

    public static function logInfo($msg) {
        Yii::info($msg);
    }

    public static function isEmpty($target) {
        if($target === null) {
            return true;
        }
        if(is_string($target)) {
            return false;
        }
        return empty($target);
    }

    public static function getDzTableName($tableName) {
        return "xdz_" . $tableName;
    }

}